<ion-view view-title="会员中心">
	<ion-content class="has-header">
		<div class="memberhome">
			<div class="list card">
				<div class="memberinfo">
					<div class="item top" style="margin-bottom: 0.1rem;">
						<div class="row">
							<div class="col">
								<div class="row">
									<div class="col">
										<div class="graghdiv" style="">
											<img ng-src="{{fileurl + userinfo.gragh}}" border="0">
										</div>
										<div class="graghnick">
											<label>{{userinfo.membername}}</label>
											<label style="font-size: 0.14rem; height: 0.16rem;">{{time}}</label>
										</div>
									</div>
								</div>
							</div>
							<div class="col">
								<div class="show" >
									<div class="">
										<div class="row">
											<div ng-show="!isSign" class="col">
												<a class="button button-icon features sign sing_imgtoSign" ng-click="toSign()" style=""></a>
											</div>
											<div ng-show="isSign" class="col">
												<a class="button button-icon features sign sing_imgsign" href="#/bangke/sign" style=""></a>
											</div>
											<div class="col">
												<a class="button  button-icon features scan" style=""></a>
											</div>
										</div>
									</div>
									<div class="">
										<a class="button button-icon features memberlevel  icon-left " href="#/bangke/upgrade" ng-if="'03' != userinfo.memberlevel && '02' != userinfo.memberlevel">
											<label>普通会员</label>
										</a>
										<a class="button button-icon features memberlevel golden icon-left " href="" ng-if="'03' == userinfo.memberlevel">
											<label>商户会员</label>
										</a>
										<a class="button button-icon features memberlevel silver icon-left " href="#/bangke/upgrade" ng-if="'02' == userinfo.memberlevel">
											<label>高级会员</label>
										</a>
									</div>
									<div class="" ng-if="userinfo.memberlevel != '03'">
										<a class="button button-icon features upgrade icon-left" href="#/bangke/upgrade"><label>我要升级</label></a>
									</div>
									<div class="earnings">昨日收益 : </div>
								</div>
							</div>
						</div>
					</div>
					<div class="account">
						<div class="memberinfo" ng-if="'01'!=userinfo.verifystatus">
							<div class="item tabs tabs-secondary tabs-icon-left scoretabs" style="color:#f69c00; height: 46px !important;">
								您尚未被通过审核
							</div>
						</div>
						<div class="memberinfo" ng-if="'01'==userinfo.verifystatus">
							<div class="item item-divider top">
								昨日返还
							</div>
							<div class="item tabs tabs-secondary tabs-icon-left scoretabs">
								<a class="tab-item" href="">
									<h2>{{account.rebate}}</h2>
									<span>单元总数</span>
								</a>
								<a class="tab-item" href="">
									<h2>{{account.sum}}</h2>
									<span>单元权重</span>
								</a>
								<a class="tab-item" href="">
									<h2>{{account.uinit}}</h2>
									<span>积分总数</span>
								</a>
							</div>
							<div class="item item-divider top">
								积分账户
							</div>
							<div class="item tabs tabs-secondary tabs-icon-left scoretabs">
								<a class="tab-item" href="#/bangke/interestsaccount/1">
									<h2>{{account.redpacket}}</h2>
									<span>红包积分</span>
								</a>
								<a class="tab-item" href="#/bangke/interestsaccount/2">
									<h2>{{account.interests}}</h2>
									<span>股权积分</span>
								</a>
								<a class="tab-item" href="#/bangke/interestsaccount/3">
									<h2>{{account.bonus}}</h2>
									<span>红利积分</span>
								</a>
							</div>
							<div class="item item-divider top">
								资金账户
							</div>
							<div class="item tabs tabs-secondary tabs-icon-left scoretabs">
								<a class="tab-item" href="">
									<h2>{{account.advance}}</h2>
									<span>预付款</span>
								</a>
								<a class="tab-item" href="">
									<h2>{{account.baccount}}</h2>
									<span>创业账户</span>
								</a>
								<a class="tab-item" href="">
									<h2>{{account.taxation}}</h2>
									<span>税费账户</span>
								</a>
							</div>
						</div>
					</div>
				</div>
				<div class="memberbody">
					<div class="row bottomline">
						<div class="col">
							<a href="#bangke/car" class="button button-icon">
								<div class="aicon cars"></div>
								<h2 class="aicontext">帮客汽车</h2>
							</a>
						</div>
						<div class="col">
							<a href="#bangke/mpf" class="button button-icon">
								<div class="aicon mpf"></div>
								<h2 class="aicontext">帮客话费</h2>
							</a>
						</div>
						<div class="col">
							<a href="#bangke/cbd" class="button button-icon">
								<div class="aicon building"></div>
								<h2 class="aicontext">帮客房产</h2>
							</a>
						</div>
						<div class="col">
							<a href="#bangke/mob" class="button button-icon">
								<div class="aicon tel"></div>
								<h2 class="aicontext">帮客手机</h2>
							</a>
						</div>
					</div>
					<div class="row bottomline">
						<div class="col">
							<a href="" ng-click="tofood()" class="button button-icon" style="">
								<div class="aicon food"></div>
								<h2 class="aicontext">帮客美食</h2>
							</a>
						</div>
						<div class="col">
							<a href="" class="button button-icon">
								<div class="aicon isures"></div>
								<h2 class="aicontext">保险直通车</h2>
							</a>
						</div>
						<div class="col">
							<a href="" class="button button-icon">
								<div class="aicon goods"></div>
								<h2 class="aicontext">帮客百货</h2>
							</a>
						</div>
						<div class="col">
							<a href="" class="button button-icon">
								<div class="aicon oil"></div>
								<h2 class="aicontext">油惠空间</h2>
							</a>
						</div>
					</div>
					<!--<div class="row">
						<div class="col">
							<a href="" class="button button-icon">
								<div class="aicon andsoon"></div>
							</a>
						</div>

					</div>-->
				</div>
				<div class="memberbody" ng-if="'01'==userinfo.verifystatus">
					<div class="row bottomline">
						<div class="col">
							<a href="#/bangke/intereststransfer" class="button button-icon" style="">
								<div class="aicon huiyuanzzh"></div>
								<h2 class="aicontext">股权转让</h2>
							</a>
						</div>
						<div class="col">
							<a href="#/bangke/redtransfer" class="button button-icon">
								<div class="aicon hongbaozzh"></div>
								<h2 class="aicontext">发红包</h2>
							</a>
						</div>
						<div class="col">
							<a href="#/bangke/withdrawals" class="button button-icon">
								<div class="aicon tixianzzh"></div>
								<h2 class="aicontext">提现</h2>
							</a>
						</div>
					</div>
					<div class="row">
						<div class="col">
							<a href="#/bangke/bonusexchange" class="button button-icon">
								<div class="aicon honglizzh"></div>
								<h2 class="aicontext">红利提现</h2>
							</a>
						</div>
						<div class="col">
							<a href="#/bangke/memberlist" class="button button-icon">
								<div class="aicon memberlist"></div>
								<h2 class="aicontext">我的会员</h2>
							</a>
						</div>
						<div class="col">
							<a href="#/bangke/referee" class="button button-icon">
								<div class="aicon myreferee"></div>
								<h2 class="aicontext">我的推荐人</h2>
							</a>
						</div>
					</div>
				</div>
			</div>
		</div>
	</ion-content>
</ion-view>